import request from '@/utils/request'

// 查询卷筒机报列表
export function listReel(query) {
  return request({
    url: '/mes/fb/reel/list',
    method: 'get',
    params: query
  })
}

// 查询卷筒机报详细
export function getReel(recordId) {
  return request({
    url: '/mes/fb/reel/' + recordId,
    method: 'get'
  })
}

// 新增卷筒机报
export function addReel(data) {
  return request({
    url: '/mes/fb/reel',
    method: 'post',
    data: data
  })
}

// 修改卷筒机报
export function updateReel(data) {
  return request({
    url: '/mes/fb/reel',
    method: 'put',
    data: data
  })
}

// 删除卷筒机报
export function delReel(recordId) {
  return request({
    url: '/mes/fb/reel/' + recordId,
    method: 'delete'
  })
}
